<?php

use Illuminate\Database\Seeder;
use App\Models\Admins\Role;

class RoleTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $admin = new Role;
		$admin->name = "admin";
		$admin->display_name = "超级管理员";
		$admin->description = "超级管理员";
		$admin->save();
		
        $user = new Role;
		$user->name = "user";
		$user->display_name = "用户";
		$user->description = "用户";
		$user->save();

    }
}
